<?php
/**
 * 具体访问者，失败状态
 * Class ConcreteVisitorFailing
 */
class ConcreteVisitorFailing extends VisitorState
{
    public function __construct()
    {
        $this->state_name = '失败';
    }

    public function getManConclusion(ConcreteElementMan $concreteElementMan)
    {
        // TODO: Implement getManConclusion() method.
        echo "{$concreteElementMan->type_name}:{$this->state_name}时，闷头喝酒，谁也不用劝。<br/>";
    }

    public function getWomanConclusion(ConcreteElementWoman $concreteElementWoman)
    {
        // TODO: Implement getWomanConclusion() method.
        echo "{$concreteElementWoman->type_name}:{$this->state_name}时，眼泪汪汪，谁也劝不了。<br/>";
    }
}


